package org.jsoncrypto;

import org.bouncycastle.crypto.params.ECPrivateKeyParameters;
import org.bouncycastle.crypto.params.ECPublicKeyParameters;

abstract class JcLibJwe_EC extends JcLibJwe {
  JcLibJwe_EC(JcLibEnc enc, String algStr) throws JcBaseException {
    super(enc, algStr);
  }
  
  JcLibJwe_EC(String jwe) throws JcBaseException {
    super(jwe);
  }

  abstract String encrypt(byte[] contentBytes, ECPrivateKeyParameters ecPrivateKeyParameters, ECPublicKeyParameters ecPublicKeyParameters) throws JcBaseException;
  abstract byte[] decrypt(ECPrivateKeyParameters ecPrivateKeyParameters) throws JcBaseException;
}
